import core.memory;
import std.stdio;

struct Struct
{
    string value = "struct";
    ~this()
    {
        writeln(value);
    }
}

void main()
{
    
    auto s = new Struct();
  //  delete s;
    (*s).destroy;
   //s.~this();
    GC.free(s);

    
    writeln("----------------");

}
